 <!--
<html>
    <head>                                                                                                                                                                              
        <script type="text/javascript" src="http://i0.ttimg.vn/js/jquery.js"></script>      
        <script type="text/javascript" src="http://i0.ttimg.vn/js/event.js"></script>        
    </head>
    <body>
      <a href="#" onClick="event_common.joinEvent(776, true);">Tham gia sá»± kiá»‡n</a> 
      <input type="submit" onClick="event_common.joinEvent(776, true);">
    </body>
</html>       -->
      






      <html>
<head>    
<link href="<?php echo EVENT_STATIC_SERVER;?>/assets/css/style_all.css" rel="stylesheet" type="text/css" />  
 
  <link href="<?php echo EVENT_STATIC_SERVER;?>/css/jquery.fancybox.css" rel="stylesheet" type="text/css" />
  <link href="<?php echo EVENT_STATIC_SERVER;?>/css/jquery.autocomplete.css" rel="stylesheet" type="text/css" /> 
  <link href="<?php echo EVENT_STATIC_SERVER;?>/css/ie6fix.css" rel="stylesheet" type="text/css" />            
  <link href="<?php echo EVENT_STATIC_SERVER;?>/css/event.css" rel="stylesheet" type="text/css" />
  <link href="<?php echo EVENT_STATIC_SERVER;?>/css/toolbar.css" rel="stylesheet" type="text/css">   
  <script type="text/javascript" src="<?php echo EVENT_STATIC_SERVER;?>/js/pngfix.js"></script>
  <script type="text/javascript" src="<?php echo EVENT_STATIC_SERVER;?>/js/jquery.js"></script>      
  <script type="text/javascript" src="<?php echo EVENT_STATIC_SERVER;?>/js/jquery.autocomplete.js"></script>   
  <script type="text/javascript" src="<?php echo EVENT_STATIC_SERVER;?>/js/avim.js"></script>
  <script type="text/javascript" src="<?php echo EVENT_STATIC_SERVER;?>/js/resize.js"></script>
  <script type="text/javascript" src="<?php echo EVENT_STATIC_SERVER;?>/js/jquery.fancybox.js"></script>      
  <script type="text/javascript" src="<?php echo EVENT_STATIC_SERVER;?>/js/event.js"></script>
  <script type="text/javascript" src="<?php echo EVENT_STATIC_SERVER;?>/js/toolbar.js"></script>
  
  <script src="<?php echo EVENT_STATIC_SERVER;?>/js/calendar/jscal2.js"></script>
  <script src="<?php echo EVENT_STATIC_SERVER;?>/js/calendar/lang/en.js"></script>                   
  
  <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script>
  <script type="text/javascript" src="/js/fancybox/jquery.mousewheel-3.0.4.pack.js"></script>
  <script type="text/javascript" src="/js/fancybox/jquery.fancybox-1.3.4.pack.js"></script>
  <link rel="stylesheet" type="text/css" href="/js/fancybox/jquery.fancybox-1.3.4.css" media="screen" />   
<script type="text/javascript">
function loadXMLDoc()
{
var xmlhttp;
if (window.XMLHttpRequest)
  {// code for IE7+, Firefox, Chrome, Opera, Safari
  xmlhttp=new XMLHttpRequest();
  }
else
  {// code for IE6, IE5
  xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
  }
xmlhttp.onreadystatechange=function()
  {
  if (xmlhttp.readyState==4 && xmlhttp.status==200)
    {
    document.getElementById("myDiv").innerHTML=xmlhttp.responseText;
    }
  }
xmlhttp.open("GET","network",true);
xmlhttp.send();
}   
$(document).ready(function() {
                            $("#tip5").fancybox({
                                'scrolling'        : 'no',
                                'titleShow'        : false,
                                'showCloseButton' : true,
                                'onClosed'        : function() {
                                    $("#login_error").hide(); 
                                
                                }
                            });
});

function ac(){
document.getElementById("va").value=123;
}
</script>
</head>
<body>

<h2>AJAX</h2>
<button type="button" onclick="loadXMLDoc()">Request data</button>
<a  onmouseover="loadXMLDoc()" id="tip5" href="#select_nw"  class="chon-cong-dong">Chọn cộng đồng</a>
<input type="text" id="nwid" name="nwid">
<div id="myDiv"></div>    
  

  
  
</body>
</html>
